﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace Klient.Forms
{
    public class Pair<T, R>
    {
        public Pair(T first, R second) 
        {
            this.first = first;
            this.second = second;
        }

        public T first { get; set; }
        public R second { get; set; }

        public static IEnumerable<Pair<bool, R>> createPair(IEnumerable<R> list)
        {
            List<Pair<bool, R>> l = new List<Pair<bool, R>>();
            foreach(var a in list)
                l.Add(new Pair<bool,R>(false, a));
            return l;
        }
    }
}
